package com.sjz.service;

import com.sjz.entity.User;

import java.util.List;

public interface UserService {

    //用户登录
    User getUserInfoByName(String name);

    List<String> getUserRoleInfo(String principal);

    public List<String> getUserPermissionInfo(List<String> roles);

}
